/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.demo.scheduler.service.step.base;

import info.peigen.hotpot.demo.scheduler.domain.Task;
import info.peigen.hotpot.demo.scheduler.service.communication.CallBackResult;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <b>(TaskContext)</b>
 *
 * @author Lihai
 * @version 1.0.0
 * @since 2023/9/9
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskContext<Params extends StepParams> {
    Task           task;
    CallBackResult callBackResult;
    Params         params;
}
